package currentRebate;

import java.util.ArrayList;

import bestbuy.Receipt;
import bestbuy.ReceiptInterface;
import bestbuy.ReceiptDecorator;

public class Rebate extends ReceiptDecorator implements RebateInterface {
	
	//need to compare items in order to apply rebate.
	
	public Rebate(ReceiptInterface newReceipt) {
		super(newReceipt);
	}
	
	public boolean applies(Receipt r) {
		return false;
	}

	public String getReceipt() {
		return  tempReceipt.getReceipt() + "\nRebates!";
	}

}
